Xbasic

FILE.SIZE Function

Syntax

Byte_Size as N = FILE.size(C filename )

Arguments

filenameCharacter

The name of the file.

Returns

Byte_SizeNumeric

Returns the size of the file in bytes.

Description

The FILE.SIZE() method returns the size of a file.

Example

? FILE.size("C:\Databases\AlphaMovies\Customers.Ddd")
= 4149

See Also